trigger SalesReceiptDetailTrigger on SalesReceiptDetail__c (before insert ) {
    if(Trigger.isBefore){
        SalesReceiptDetailHandler.changeOwner(Trigger.new);
    }
}